package org.epidroid.epidroid.androsoul.ui.conversation;

import org.epidroid.epidroid.androsoul.engine.contacts.NetsoulContact;

public class OpenedConversation {
	
	private NetsoulContact _contact = null;
	private int _nbMsg = 0;
	
	public OpenedConversation(NetsoulContact c) {
		_contact = c;
	}
	
	public void incNbMsg() {
		_nbMsg++;
	}
	
	public int getNbMsg() {
		return _nbMsg;
	}
	
	public NetsoulContact getContact() {
		return _contact;
	}

	public void clearNbMsg() {
		_nbMsg = 0;
	}
	

}
